<script setup>
import { Head } from '@inertiajs/vue3'
import AdminLayout from '@/Layouts/AdminLayout.vue'
import TagForm from './TagForm.vue'

defineProps({
    tag: {
        type: Object,
        required: true
    }
})
</script>

<template>
    <AdminLayout>
        <Head :title="`编辑标签: ${tag.name}`" />

        <div class="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
            <TagForm :tag="tag" />
        </div>
    </AdminLayout>
</template> 